Eclipse Platform
Pre-release 3.0

org.eclipse.ui.commands
Interface IMutableCommandHandlerService

All Superinterfaces:
ICommandHandlerService

public interface IMutableCommandHandlerService
extends ICommandHandlerService

An instance of this interface allows clients to manage command handlers.

This interface is not intended to be extended or implemented by clients.

EXPERIMENTAL

Since:
3.0
See Also:
CommandHandlerServiceFactory

Method Summary
 void setHandlersByCommandId(Map handlersByCommandId)
          Returns the map of handlers by command identifier.
 
Methods inherited from interface org.eclipse.ui.commands.ICommandHandlerService
addCommandHandlerServiceListener, getHandlersByCommandId, removeCommandHandlerServiceListener
 

Method Detail

setHandlersByCommandId

public void setHandlersByCommandId(Map handlersByCommandId)
Returns the map of handlers by command identifier.

Notification is sent to all registered listeners if this property changes.

Returns:
the map of handlers by command identifier. This map may be empty, but its keys and values must not be null. If this map is not empty, its key set must only contain instances of String and its value set must only contain instances of IHandler

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.